package com.infore.dataAudit.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.infore.dataAudit.service.audit.IDataAuditService;
import com.infore.dataAudit.util.ResultEntity;
import com.infore.dataAudit.vo.QualityParamOutSelectBo;

@RestController
@RequestMapping("/out")
public class OutAuditController {
	
    @Autowired
    private IDataAuditService dataAuditService;
    
	@RequestMapping(value = "/queryAuditData", method = RequestMethod.POST )
	@ResponseBody
	public ResultEntity queryAuditDataByTimeAndMns(@RequestBody QualityParamOutSelectBo bo) { 
	    return dataAuditService.queryAuditDataByTimeAndMns(bo);
	}

}
